package cn.nexd.app.guestsystem.application;

import android.app.Application;

import cn.nexd.app.guestsystem.database.DatabaseHelper;
import cn.nexd.framework.error.NexdCrashException;
import cn.nexd.framework.util.Logger;

/**
 * Created by wangxu on 16/8/29.
 */
public class GuestSystemApplication extends Application {
    private static final String TAG = "GuestSystemApplication";
    public static DatabaseHelper helper;

    @Override
    public void onCreate() {
        super.onCreate();
        Logger.DEBUG = true;
        helper = DatabaseHelper.getInstance(this);

        NexdCrashException.getInstance().setCaughtException();
    }
}
